                <div id="slider1">
        					<ul id="slider1Content">
                   <?php
                    $slideshow_order = get_option('centita_slideshow_order') ? get_option('centita_slideshow_order') : "date";
                    $slidetext_position = get_option('centita_slidetext_position');
                     
                    if (post_type_exists('slideshow')) { 
                      
                      query_posts(array( 'post_type' => 'slideshow', 'showposts' => -1,'orderby'=>$slideshow_order));
                                            
                      if (have_posts()) :
                      while (have_posts()) : the_post();
                      $slideshow_url = get_post_meta($post->ID, '_slideshow_url', true );
                      $slideshow_readmore  = get_post_meta($post->ID, '_slideshow_readmore', true );
                      ?>  
                    <li class="slider1Image">
                    <?php if (function_exists('has_post_thumbnail') && has_post_thumbnail()) {?>
                      <img src="<?php echo get_template_directory_uri();?>/timthumb.php?src=<?php echo thumb_url();?>&amp;h=280&amp;w=960&amp;zc=1" alt="<?php the_title(); ?>" title="<?php the_title();?>"/>
                    <?php } ?>
                      <span <?php switch ($slidetext_position) {
                          case "right": echo 'class="right"';
                          break;
                          case "left": echo 'class="left"';
                          break;
                          case "top": echo 'class="top"';
                          break;
                          case "bottom": echo 'class="bottom"';
                          break;
                          default: echo 'class="right"';
                        }
                      ?>>
                       <strong><?php the_title();?></strong>
                       <div class="clr"></div><?php if ($slidetext_position == "left" || $slidetext_position == "right") echo '<br />';?>
                      <?php the_content();?>
                      <div class="clr"></div>
                      <?php if ($slidetext_position == "left" || $slidetext_position == "right"): ?>
                      <a href="<?php echo $slideshow_url;?>" class="more"><?php echo $slideshow_readmore ? $slideshow_readmore : __('read more','centita');?></a>
                      <?php endif;?>
                      </span>
                    </li>
                    <?php endwhile;?>
                    <?php endif;?>
                  <?php } ?>   
                  <div class="clear slider1Image"></div>               
                  </ul>      	
                </div>